package com.lancoo.ccas52.mapper;
import java.util.Collection;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lancoo.ccas52.config.MybatisRedisCache;
import com.lancoo.ccas52.entity.TeachingClassWeek;
import com.lancoo.ccas52.pojo.dto.*;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface TeachingClassWeekMapper extends BaseMapper<TeachingClassWeek> {

    int addBatch(@Param("teachingClassWeekCollection") Collection<TeachingClassWeek> teachingClassWeekCollection);
}